﻿using Furion.DatabaseAccessor;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BJYJ_Admin.Core.SystemEntities
{
    /// <summary>
    /// 区划表
    /// </summary>
    public class System_Area : Entity<int>
    {
        /// <summary>
        /// 区域编号
        /// </summary>
        [MaxLength(50)]
        public string AreaNumber { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        [MaxLength(50)]
        public string AreaName { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        [MaxLength(10)]
        public string ParentId { get; set; }

        /// <summary>
        /// 区域级别
        /// </summary>
        [MaxLength(5)]
        public string AreaLevel { get; set; }

        /// <summary>
        /// 父级路径
        /// </summary>
        [MaxLength(100)]
        public string ParentPath { get; set; }

        /// <summary>
        /// 区域简称
        /// </summary>
        [MaxLength(50)]
        public string ShortAreaName { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [MaxLength(10)]
        public string PaiXu { get; set; }

        /// <summary>
        /// 是否启用0启用1禁用
        /// </summary>
        [MaxLength(1)]
        public string IsEnabled { get; set; }

        /// <summary>
        /// 模糊查询字符串
        /// </summary>
        [MaxLength(10)]
        public string LikeStr { get; set; }
    }
}
